package com.mars.module.admin.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.mars.module.system.entity.BaseEntity;

/**
 * 学生管理对象 sys_stu
 *
 * @author mars
 * @date 2024-03-17
 */

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "学生管理对象")
@Builder
@Accessors(chain = true)
@TableName("sys_stu")
public class SysStu extends BaseEntity {

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 学生姓名
     */
    @Excel(name = "学生姓名")
    @ApiModelProperty(value = "学生姓名")
    private String sname;
    /**
     * 学生年龄
     */
    @Excel(name = "学生年龄")
    @ApiModelProperty(value = "学生年龄")
    private String studentAge;
    /**
     * 学生爱好
     */
    @Excel(name = "学生爱好")
    @ApiModelProperty(value = "学生爱好")
    private String studentsLove;
    /**
     * 学生班级
     */
    @Excel(name = "学生班级")
    @ApiModelProperty(value = "学生班级")
    private String studentsInTheClass;
    /**
     * 学生生日
     */
    @Excel(name = "学生生日")
    @ApiModelProperty(value = "学生生日")
    private String studentsBirthday;
}
